package com.bj58.di.config;

import com.bj58.di.service.IBookService;
import com.bj58.di.service.impl.ArtBookService;
import com.google.inject.AbstractModule;
import com.google.inject.name.Names;

public class AnnotationConfiguration extends AbstractModule {

	
	@Override
	protected void configure() {
		 bind(IBookService.class).annotatedWith(Names.named("artBookService")).to(ArtBookService.class);
	}
	
	

}
